'use strict';


// Declare app level module which depends on filters, and services
angular.module('NormalCMS', ['NormalCMS.filters', 'NormalCMS.services', 'NormalCMS.directives', 'ngRoute', 'angular-loading-bar']).
  config(['$routeProvider', function ($routeProvider) {
    $routeProvider.when('/', { templateUrl: 'page/home.html' });
    $routeProvider.when('/home', { templateUrl: 'page/home.html' });
    $routeProvider.when('/sysRole', { templateUrl: 'page/sys_role.html' });
    $routeProvider.when('/sysAuth', { templateUrl: 'page/sys_auth.html' });
    $routeProvider.when('/sysAccount', { templateUrl: 'page/sys_account.html' });

    $routeProvider.when('/404', { templateUrl: 'page/404.html' });
    $routeProvider.otherwise({ redirectTo: '/404' });
  }])